package cn.aitrox.ry.service.alg;

import cn.aitrox.ry.common.service.api.config.UserInterceptorFeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(
        exclude = {DataSourceAutoConfiguration.class, RedisAutoConfiguration.class})
@ComponentScan({"cn.aitrox.ry"})
@EnableFeignClients(basePackages = "cn.aitrox.ry.service", defaultConfiguration = UserInterceptorFeignConfig.class)
public class AlgBootstrap {

    public static void main(String[] args) {
        SpringApplication.run(AlgBootstrap.class, args);
    }

}
